<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style type="text/css">
			
		</style>
	</head>
	<body>
		<div id="d1" style="width: 200px;height: 200px;background: pink;"></div>
		
		<script type="text/javascript">
			d1.onclick=function(){
				d1.style.transform="translateX(200px)"
			}
		</script>
	</body>
</html>
